public class demo4 {
    public static void main(String[] args) {
        int x=1;
        while(x<5){
            System.out.println("x="+x);
            x= ++x;
        }

    }
}
